/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package twbb.adaptive;

import edu.cuny.cat.server.GameController;
import edu.cuny.cat.event.*;


/**
 *
 * @author sun
 */
public class FilterMain {

    public int getSpecialistCount(){
        String specialistIds[] = GameController.getInstance().getRegistry().getSpecialistIds();
        return specialistIds.length;
    }

    public String getSpecialistId(FeesAnnouncedEvent event){
        String specialistId = event.getSpecialist().getId();
        return specialistId;
    }

    public double[] getFeesAnnounced(FeesAnnouncedEvent event) {
		double[] fees = new double[5];
		fees[0] = event.getRegistrationFee();
		fees[1] = event.getInformationFee();
		fees[2] = event.getShoutFee();
		fees[3] = event.getTransactionFee();
		fees[4] = event.getProfitFee();
        return fees;
	}


}
